package com.econ.powercloud.ems.service.dao;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.econ.powercloud.ems.dal.entity.ext.IotEdgePlatformSyncMsgDetail;
import com.econ.powercloud.ems.dal.mapper.IotEdgePlatformSyncMsgDetailMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author : zjf
 * @Description : 设备型号 dao 层
 * @Date : 2021/7/5 17:06
 * @Modified by : zjf
 */
@Repository
public class IotMqttSyncMsgDetailDAO extends ServiceImpl<IotEdgePlatformSyncMsgDetailMapper, IotEdgePlatformSyncMsgDetail> {

    //TODO 接口有問題
    public List<IotEdgePlatformSyncMsgDetail> selectLastListByParentPid(List<Integer> msgPidList,List<Integer> msgTypeList) {
        return this.baseMapper.selectLastListByParentPid(msgPidList,msgTypeList);
    }
}
